/*
 * @Author: leevan
 * @Date: 2022-02-10 11:22:12
 * @LastEditTime: 2022-02-11 16:26:46
 * @LastEditors: leevan
 * @FilePath: /usermanagecenter/src/service/role.service/path.js
 */

import {
    URL
} from '../config';

//获取角色
export const queryAllRole_path = () => URL + '/uc/role/queryAllRole'

//获取分页角色
export const queryPageRole_path = () => URL + `/uc/role/page`;

//关联角色
export const queryRelationMenu_path = (roleId) => URL + `/uc/role/${roleId}`

//所有菜单
export const queryMenuList_path = () => URL + `/uc/menu/list`

//角色信息操作
export const RoleHandler_path = () => URL + `/uc/role`

//删除角色
export const deleteRole_path = (roleId) => URL + `/uc/role/${roleId}`

//保存
export const saveRole_path = roleId => URL + `/uc/role/saveRelationMenu/${roleId}`